package com.inno.auth.domain.convert;


import com.inno.auth.domain.entity.PlannerUsersBO;
import com.inno.auth.infra.basic.entity.PlannerUsers;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PlannerUsersConverter {
    PlannerUsersConverter INSTANCE = Mappers.getMapper(PlannerUsersConverter.class);

    PlannerUsers convertBOtoEntity(PlannerUsersBO plannerUsersBO);

    PlannerUsersBO convertEntityToBO(PlannerUsers plannerUsers);

    List<PlannerUsersBO> convertEntityListToBOList(List<PlannerUsers> usersList);
}
